#ifndef JOINTDATADIALOG_H
#define JOINTDATADIALOG_H

#include <QDialog>
#include <QVBoxLayout>
#include <QJsonObject>
#include <QMouseEvent>
#include <QTableWidget>
#include <QScrollArea>

class JointDataDialog : public QWidget
{
    Q_OBJECT

public:
    explicit JointDataDialog(QWidget *parent = nullptr);
    void updateData();

private:
    void setupUI();
    //bool m_bFirst=true;
    QTableWidget*  m_pTableWidget=nullptr;
// protected:
//     // QWidget interface
//     void showEvent(QShowEvent *event);
    QScrollArea * m_pScrollArea;
    // QWidget interface
protected:
    void resizeEvent(QResizeEvent *event);
};

#endif // JOINTDATADIALOG_H 
